home *** CD-ROM | disk | FTP | other *** search
- Path: rcp6.elan.af.mil!rscernix!danpop
- Newsgroups: comp.lang.c
- Subject: Re: Unable to check callo
- Message-ID: <danpop.823791819@rscernix>
- From: danpop@mail.cern.ch (Dan Pop)
- Date: 8 Feb 96 15:03:39 GMT
- References: <4fakm9$24f@gail.ripco.com>
- Organization: Air Force Flight Test Center
- NNTP-Posting-Host: ues5.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
-
- In <4fakm9$24f@gail.ripco.com> mambuhl@ripco.com (Martin Ambuhl) writes:
-
- >At the time of K&R1 (1978), the "standard" library had calloc() but
- >_not_ malloc(). malloc() is a stripped down version of calloc() rather
- >than calloc() being an augmented malloc(). So calloc() exists in older
- >C programs that would break if it were not available.
-
- It's a fairly long time since I've read K&R1, but I clearly remember
- malloc being described there (including a demo Unix implementation).
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-